package com.taxi.driver.config;

/**
 * 功能描述：订单类型
 */
public class TypeTripNew {

    // 用车
    public final static int USE_CAR = 1;
    // 日租
    public final static int DAILY_RENT = 2;
    // 半日租
    public final static int HALF_DAY_RENT = 3;
    // 送机
    public final static int AIRPORT_DROP_OFF = 4;
    // 接机
    public final static int AIRPORT_PICKUP = 5;

    public static boolean isRent(int timeType) {
        return timeType == DAILY_RENT || timeType == HALF_DAY_RENT;
    }
}
